//
//  WithdrawalViewController.m
//  SeaMelonSeeds_Counselor
//
//  Created by 尤振宇 on 2017/7/25.
//  Copyright © 2017年 杨笑. All rights reserved.
//

#import "WithdrawalViewController.h"
#import "JHMacros.h"

@interface WithdrawalViewController ()
@property (weak, nonatomic) IBOutlet UIButton *withdrawalBtn;
@property (weak, nonatomic) IBOutlet UIButton *selectBankBtn;
@property (weak, nonatomic) IBOutlet UITextField *textField;

@end

@implementation WithdrawalViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    [self.withdrawalBtn roundedCorners_5PX];

    UILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 10, 20)];
    label.text = RENMINGBI;
    label.font = [UIFont systemFontOfSize:14];
    self.textField.leftView = label;
    self.textField.leftViewMode = UITextFieldViewModeAlways;
}

-(void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
    [self.selectBankBtn setTitle:@"招商银行 (1234)" forState:(UIControlStateNormal)];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)selectBackAction:(id)sender {
    
}

- (IBAction)withdrawalAction:(id)sender {
    
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
